# num = input("请输入一个数字：")
# if int(num) < 10:
#     print(num)
#
# if 3:
#     print("ok")
#
# if True:
#     print("True")
#
# num = input("请输入一个数字：")
# if int(num)>10:
#     print("大于10")
# else:
#     print("小于10")

# score = int(input("请输入分数"))
# grade = ''
# if score < 60:
#     grade = 'bjg'
# elif score < 80:
#     grade = 'jg'
# elif score < 100:
#     grade = 'yx'
# print(f"分数是{score}，garde为{grade}")

# score = int(input("请输入一个分数："))
# if score > 0 and score < 100:
#     if score > 90:
#         print('A')
#     elif score > 80:
#         print('B')
#     elif score > 70:
#         print('C')
#     elif score > 60:
#         print
#     elif score < 60:
#         print('E')
# else:
#     print("请输入一个0~100的分数")

# num = int(input("请输入一个数字："))
# if 90>int(num)>80:
#     print('1')

# num = 0
# while num <= 10:
#     print(num)
#     num+=1

# num=1
# while num<=1000:
#         if num%20==0:
#                 print(num, end="\t")
#
#         else:
#             print(num, end="\t")
#         if num % 100 == 0:
#                 print()
#         num += 1

# sumhe = 0
# sumo = 0
# sumj = 0
# num = 0
# while num <=100:
#         if num%2 == 0:
#                 sumo+=num
#         else:
#                 sumj+=num
#         num+=1
# sumhe=sumo+sumj
# print(f"奇数和为：{sumj}，偶数和为{sumo}，总和为{sumhe}")

# for 变量  in 可迭代对象
# 	循环体语句

# for i in range(1,10):
#     for m in range(1,i+1):
#         print("%d*%d=%d"%(m,i,m*i),end="\t")
#     print()

# def text1(i):
#     if i == 10:
#         return 10
#     else:
#         return i + text1(i+1)
# r = text1(4)
# print(r)

# def sum1(x):
#     if x > 1:
#         sum2 = x + sum1(x-1)
#     else:
#         sum2 = 1
#     return sum2
# a = sum1(5)
# print(a)

# f = lambda x,y:x+y
# print(f)
# print(f(1, 2))













